package com.city.statisticsservice.feign;

import com.city.commonutils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created with IntelliJ IDEA.
 * User: Cheng
 * Date: 2020/10/10
 * Time: 22:50
 * Description: No Description
 *
 * 调用其他模块的接口
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    @GetMapping("/ucenterservice/member/countRegister/{day}")
    Result countRegister(@PathVariable String day);
}
